Added a comment: update: unset directory is cool feature, but not always work
authorpsxvoid <psxvoid@web>
Fri, 20 Dec 2024 06:52:57 +0000 (06:52 +0000)
committeradmin <admin@branchable.com>
Fri, 20 Dec 2024 06:52:57 +0000 (06:52 +0000)
doc/todo/Adding_unmatched_files_to_a_view/comment_5_4f67c6b5d57f23b66c8825392fa37a05._comment [new file with mode: 0644]

diff --git a/doc/todo/Adding_unmatched_files_to_a_view/comment_5_4f67c6b5d57f23b66c8825392fa37a05._comment b/doc/todo/Adding_unmatched_files_to_a_view/comment_5_4f67c6b5d57f23b66c8825392fa37a05._comment
new file mode 100644 (file)
index 0000000..f6754c8
--- /dev/null
@@ -0,0 +1,26 @@
+[[!comment format=mdwn
+ username="psxvoid"
+ avatar="http://cdn.libravatar.org/avatar/fde068fbdeabeea31e3be7aa9c55d84b"
+ subject="update: unset directory is cool feature, but not always work"
+ date="2024-12-20T06:52:56Z"
+ content="""
+After fixing long paths and running:
+
+```shell
+git annex view ?tag tag=tag-a tag=tag-b 'dir-a/dir-b/dir-c/=*'
+```
+
+it does exactly what I need, and produces:
+
+```
+/
+ _/
+  dir-c-children-c
+ tag-a/
+       dir-c-children-a
+ tag-b/
+       dir-c-children-b
+```
+
+Haven't tried to use it with `tag=*` but for now it's even better as I'm mostly interested in `tag-a` and `tag-b`.
+"""]]